UCF STIG Viewer Logo

Nutanix AOS must enforce a 60-day maximum password lifetime restriction.


Overview

Finding ID Version Rule ID IA Controls Severity
V-254219 NUTX-OS-001350 SV-254219r846745_rule Medium
Description
Any password, no matter how complex, can eventually be cracked. Therefore, passwords need to be changed periodically. If the operating system does not limit the lifetime of passwords and force users to change their passwords, there is the risk that the operating system passwords could be compromised.
STIG Date
Nutanix AOS 5.20.x OS Security Technical Implementation Guide 2022-08-24

Details

Check Text ( C-57704r846743_chk )
Confirm Nutanix AOS is configured to enforce a 60-day maximum password lifetime.

$ sudo grep -i pass_max_days /etc/login.defs
PASS_MAX_DAYS 60

If the "PASS_MAX_DAYS" parameter value is not "60" or less, or is commented out, this is a finding.

$ sudo awk -F: '$5 > 60 {print $1 " " $5}' /etc/shadow

If any results are returned that are not associated with a system account, this is a finding.
Fix Text (F-57655r846744_fix)
Configure the password maximum age by running the following command:

$ sudo salt-call state.sls security/CVM/pamCVM